Python pandas df index error when column empty

welcome to shbcf.ru